<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>有参数无返回值的函数</title>
</head>
<body>
<script>
  //有参数，无返回值的函数
  function myfun02(num,msg) {
    console.log(msg,"num==>",num);
  }
  //调用,从外部传值5、hello
  myfun02(5,"hello");
</script>
</body>
</html>